package com.bean.service;

import com.bean.dao.UserDao;
import com.bean.dao.UserDaoMySqlImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

@Component
public class UserService {

    @Autowired
    @Qualifier("userDaoMysql")
    UserDao userDao;

    public void getAll(){
        userDao.getAll();
    }
}
